﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using Notify = Hardcodet.Wpf.TaskbarNotification;
using System.Text;
using WpfApplication1.Models;
using System.Windows.Data;
using System.ComponentModel;
using System.Windows.Documents;
using System.Windows.Media;

namespace WpfApplication1
{
    partial class Resources : ResourceDictionary
    {
        CollectionViewSource ordreDataView;

        public Resources()
        {
            InitializeComponent();
            //ordreDataView = (CollectionViewSource)(this.Resources["ordreDataView"]);
        }
        
        private void btnBestil_Click(object sender, RoutedEventArgs e)
        {
            var newWindow = new Bestilling_new();
            newWindow.Show();
        }

        private void btnIndstillinger_Click(object sender, RoutedEventArgs e)
        {
            var newWindow = new Options();
            newWindow.Show();
        }

        private void btnExit_Click(object sender, RoutedEventArgs e)
        {
            Application curApp = Application.Current;
            curApp.Shutdown();
        }
    }
}